<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
   <% String path=request.getContextPath(); 
   String basePath=request.getScheme()
    + "://" + request.getServerName() + ":" + request.getServerPort() + path
    + "/"; 

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<%=basePath%>">
<title>菜单管理</title>
<style type="text/css">
#showMenuInfoTable{font-size: 12px;}
#showMenuInfoTable td{border-bottom:1px solid #A4BDE3;height:20px;}
.temp{font-weight:bold;text-align:right;}

.table_temp{width:99.5%;border-left:0px; border-top:0px #bbcddb solid;background-color:#f6f7f9;font-size: 12px;}
.table_temp th{background:url(../images/centent_1.jpg) repeat-x; color:#343233; width:11%; text-align:center; line-height:26px; border-bottom:1px #bbcddb solid; border-right:1px #bbcddb solid; background-color:#f6f7f9;}
.table_temp td{text-align:center; line-height:26px;border-bottom:0px #bbcddb solid; border-right:0px #bbcddb solid;height:40px;}

#saveMenuUriTable tr td{height:35px;}
</style>
<link rel="stylesheet" href="<%=path%>/css/zTreeStyle/zTreeStyle.css">
<jsp:include page="/WEB-INF/jsp/common/common.jsp"></jsp:include>
<script type="text/javascript" src="<%=path%>/js/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="<%=path%>/js/jquery.ztree.excheck-3.5.js"></script>
<script src="<%=path%>/js/jquery.divbox.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
	isReadyIframe();
	queryMenu(1);
});

function isReadyIframe(){
	var iframe = $(window.parent.document).find("#iframe").length;
	if(iframe==0){
		window.location.href="<%=path%>/index.jsp";
	}
}

//展开树形菜单
function openTree(event, treeId, treeNode){
	if(treeNode.isParent){
		var isOpen = treeNode.open;
		zTreeObj.expandNode(treeNode,!isOpen);
	}
	showMenuInfo(treeNode.id);
}


function showMenuInfo(id){
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/queryMenuInfo",
		type: "post",
		dataType: "json",
		data:{"menuid":id},
		async:true,
		cache:false,
		success: function(data) {
			$('#muname').html(data.menuName);
			$('#muurl').html(data.url);
			$('#mudesc').html(data.menuDesc);
			$('#musno').html(data.sortNo);
			$('#rightmenuInfo').css('display','inline');
		}
	});
}



var selectedMenuId;
var selectedMenuName;
var selObj;
//点击单选按钮时获取该菜单的id、name
function onCheck(e, treeId, treeNode) {
	selObj = treeNode.checked;
	selectedMenuId = treeNode.id;
	selectedMenuName = treeNode.name;
	//alert(treeNode.id+'----------------'+treeNode.name);
}	
//初始化树形菜单
function menuTree(){
	var setting = {
			data: {
				simpleData: {
					enable: true
				}
			},
			view: {
				dblClickExpand: true
			},
			callback: {
				onClick: openTree,
				onCheck: onCheck
			},
			check: {
				enable: true,
				chkStyle: "radio",
				radioType: "all"
			}


		};
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/selectParentMenu",
		type: "post",
		dataType: "json",
		data:{"menuid":$('#mid').val()},
		async:true,
		cache:false,
		success: function(data) {

			if($.validate(data))return;
			
			zTreeObj = $.fn.zTree.init($("#treeDemo"), setting, data);
			
			$("#pMenuDiv").OpenDiv2();
		}
	});
}

//关闭  窗口
function closeCurrentDIV(obj){
		$("#"+obj).CloseDiv();	
//		$("#BigDiv").css('display','none');
}



/**
 * 页面初始化查询显示所有角色列表
 */
function queryMenu(pageIndex){
	var mname = $('#menuName_input').val();
	$.openLoading();
	$.ajax({
		url : "<%=path%>/systemManager/menuManage/initAllMenus",
		type : 'POST',
		async : true,
		data:{"pageIndex":pageIndex,"menuName":mname},
		dataType:'json',
		success:function(menuPage){
			$.closeLoading();
			if($.validate(menuPage))return;
			//业务处理
				if(null != menuPage){
					var buttonStr = "<a href='javascript:void(0)' onClick='editMenu(this);return false'>编辑</a>&nbsp;<a href='javascript:void(0)' onClick='warnDelMenu(this)'>删除</a>&nbsp;<a href='javascript:void(0)' onClick='openMenuUriWindow(this)'>配置uri</a>";
					var fieldNames = "menuid@TDH,PARENT_MENU_ID@TDH,URL@TDH,MENU_DESC@TDH,SORT_NO@TDH,menu_name,parent_menu_name,menu_type_desc,menu_type@TDH";
					var tableContent = creatTable(fieldNames,menuPage,buttonStr);
					var tableObj = $("#menuTable");
					tableObj.find("tbody").remove();
					tableObj.append(tableContent);

					var strPage = creatChannelPage(pageIndex,6,menuPage.maxPage,"9");

					var pageDIV = $("#menuPageDIV");
					pageDIV[0].innerHTML="";
					pageDIV.append(strPage);
				}
		}
	});
}


//打开 添加菜单窗口
function openAddMenuDIV(){
	clearParMenu();
	$('#newMenuName').val('');
	$('#sortNo').val('');
	$('#url').val('');
	$('#menuDesc').val('');
	$('#menuerror').html('');
	$("#saveMenuBtn").attr("onclick","").unbind("click").click(function(){  
		addMenu();  
		}) 	
		
		$("#selp").attr("onclick","").unbind("click").click(function(){  
		openParMenuDiv();  
		}) 	

	$("#editMenuDiv").OpenDiv();
}

//清空上级菜单
function clearParMenu(){
	$('#selectedParentMenu').val('');
	$('#pid').val('');
}

//点击编辑打开树形上级菜单窗口
function openParMu(){
	var menuid = $('#mid').val();
	menuTree();
}

//点击新增打开树形上级菜单窗口
function openParMenuDiv(){
	$('#mid').val('');
	menuTree();
}

//关闭树形上级菜单窗口
function closePdiv(obj)
{
	$("#"+obj).CloseDiv2();
	$("#rightmenuInfo").css('display','none');
}

//选择上级菜单
function chooseParMenu(){
//	if(selectedMenuId==undefined){
	if(selObj==undefined || selObj==false){
		$.message("error", '请选择一个上级菜单');
		return;
	}
	$('#pid').val(selectedMenuId);
	$('#selectedParentMenu').val(selectedMenuName);
	$("#pMenuDiv").CloseDiv2();
	selObj=false;
}

//添加菜单之前校验
function checkBeforeAdd(){
	var mname = $.trim($('#newMenuName').val());
	if(mname.length==0){
		$.message("error","请输入菜单名称");
		return false;
	}
	var sNo = $('#sortNo').val();
	var reg = /^([1-9]\d{0,4}|0)?$/;
    if(!reg.test(sNo)){
    	$.message("error", "序号只能输入数字且不大于5位");
    	return false;
    }
		return true;
}
//添加菜单
function addMenu(){
	if(!checkBeforeAdd()) return;
	var mname = $.trim($('#newMenuName').val());
	var pid = $('#pid').val();
	
	var sNo = $('#sortNo').val();
	var url = $('#url').val();
	var desc = $('#menuDesc').val();
	var menu_type= $("input[name='menu_type']:checked").val();
	
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/addMenu",
		type: "post",
		dataType: "json",
		data:{"parentMenuId":pid,"sortNo":sNo,"menuName":mname,"url":url,"menuDesc":desc,"menuType":menu_type},
		async:true,
		cache:false,
		success: function(data) {
			if($.validate(data))return;
			queryMenu(1);
			$("#editMenuDiv").CloseDiv();
		}
	});
}


//打开编辑菜单窗口
function editMenu(obj){
	$('#menuerror').html('');
	var delTr = $(obj).parent('td').parent('tr')[0];
	var menuid = delTr.childNodes[0].innerHTML;
	var pmenuid = delTr.childNodes[1].innerHTML;
	var url = delTr.childNodes[2].innerHTML;
	var desc = delTr.childNodes[3].innerHTML;
	var sortno = delTr.childNodes[4].innerHTML;
	var mname= delTr.childNodes[5].innerHTML;
	var pmname = delTr.childNodes[6].innerHTML;
	var mentType = delTr.childNodes[8].innerHTML;
	$('#newMenuName').val(mname);
	$('#selectedParentMenu').val(pmname);
	$('#pid').val(pmenuid);
	$('#mid').val(menuid);
	$('#sortNo').val(sortno);
	$('#url').val(url);
	$('#menuDesc').val(desc);
	$("input[name='menu_type'][value="+mentType+"]").attr("checked",true); 
	$("#saveMenuBtn").attr("onclick","").unbind("click").click(function(){  
		saveMenu();  
		}) 	
		
	$("#selp").attr("onclick","").unbind("click").click(function(){  
		openParMu();  
		}) 	

	$("#editMenuDiv").OpenDiv();
}

//编辑菜单
function saveMenu(){
	if(!checkBeforeAdd()) return;
	var mname = $.trim($('#newMenuName').val());
	var pid = $('#pid').val();
	var sNo = $('#sortNo').val();
	var url = $('#url').val();
	var desc = $('#menuDesc').val();
	var menuid = $('#mid').val();
	var menu_type= $("input[name='menu_type']:checked").val();
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/modifyMenu",
		type: "post",
		dataType: "json",
		data:{"parentMenuId":pid,"sortNo":sNo,"menuName":mname,"url":url,"menuDesc":desc,"menuid":menuid,"menuType":menu_type},
		async:true,
		cache:false,
		success: function(data) {

			if($.validate(data))return;
				$("#editMenuDiv").CloseDiv();
				self.parent.frames["topFrame"].parent.frames["left"].document.location.reload();
				queryMenu(1);
		}
	});
}

//删除菜单前 弹出提示框
function warnDelMenu(obj){
	$.dialog({
		type: "warn",
		content: "确认要删除该菜单吗？",
		onOk: function() {
			deleteMenu(obj);
		}
	});
}
//删除菜单
function deleteMenu(obj){
	var delTr = $(obj).parent('td').parent('tr')[0];
	var menuid = delTr.childNodes[0].innerHTML;
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/deleteMenu",
		type: "post",
		dataType: "json",
		data:{"parentMenuid":menuid},
		async:true,
		cache:false,
		success: function(data) {
			if(data!=null && data.result=="error"){
				$.message("error", data.message);
			}else{
				if($.validate(data))return;
				queryMenu(1);
			}
		}
	});
}


//打开配置uri窗口
var midTemp;
function openMenuUriWindow(obj){
	var delTr = $(obj).parent('td').parent('tr')[0];
	midTemp = delTr.childNodes[0].innerHTML;
	loadMenuUriList();
	$("input[name='menuUri_input']").val("");
}


//加载 菜单uri列表
function loadMenuUriList(){
	$.openLoading();
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/loadMenuUri",
		type: "post",
		dataType: "json",
		data:{"menuId":midTemp},
		async:true,
		cache:false,
		success: function(data) {
			$("input[name='menuUri_input']").val("");
			$.closeLoading();
			if(data!=null && data.result=="error"){
				$.message("error", data.message);
			}else{
				$("tr[name='menuUriTr']").remove();
				if($.validate(data))return;
				//业务处理
				for(var i = 0;i<data.length;i++){
					if(data[i].uriDesc==null){
						$("#menuUriTableHeader").after("<tr name = 'menuUriTr' id='"+data[i].uriId+"'><td><input type='text' value="+data[i].uri+" class='input_text' style='width:180px;'><span class='red'>*</span></td><td><input type='text' value='' class='input_text' style='width:180px;'></td><td><a href='' onclick='warnBeforedelMenuUri("+data[i].uriId+");return false'>删除</a>&nbsp;<a href='javascript:void(0)' onclick='updateMenuUri(this,"+data[i].uriId+");return false'>保存</a></td></tr>");
					}else{
						$("#menuUriTableHeader").after("<tr name = 'menuUriTr' id='"+data[i].uriId+"'><td><input type='text' value="+data[i].uri+" class='input_text' style='width:180px;'><span class='red'>*</span></td><td><input type='text' value="+data[i].uriDesc+" class='input_text' style='width:180px;'></td><td><a href='javascript:void(0)' onclick='warnBeforedelMenuUri("+data[i].uriId+");return false'>删除</a>&nbsp;<a href='javascript:void(0)' onclick='updateMenuUri(this,"+data[i].uriId+");return false'>保存</a></td></tr>");
					}
				}
			}

			$('#setMenuUriDiv').OpenDiv();
		}
	});
}


//新增菜单uri
function addMenuUri(){
	var uri = $.trim($('#uri').val());
	var desc = $.trim($('#uriDesc').val());
	if(uri.length<=0){
		$.message("error","Uri不能为空");
		return;
	}
	$.openLoading();
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/addNewMenuUri",
		type: "post",
		dataType: "json",
		data:{"uri":uri,"uriDesc":desc,"menuid":midTemp},
		async:true,
//		cache:false,
		success: function(data) {
			$.closeLoading();
			//			if(data!=null && data.result=="error"){
			//	$.message("error", data.message);
			//}else{
				if($.validate(data))return;
				loadMenuUriList();
				//}
		}
	});
}

//删除uri配置之前提示信息
function warnBeforedelMenuUri(uriId){
	$.dialog({
		type: "warn",
		content: "确认要删除该记录吗？",
		onOk: function() {
			deleteMenuUri(uriId);
		}
	});
}

//删除uri配置
function deleteMenuUri(id){
	$.openLoading();
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/delMenuUri",
		type: "post",
		dataType: "json",
		data:{"uriId":id},
		async:true,
		cache:false,
		success: function(data) {
			$.closeLoading();
			if(data!=null && data.result=="error"){
				$.message("error", data.message);
			}else{
				if($.validate(data))return;
				loadMenuUriList();
			}
		}
	});
}

//修改菜单uri
function updateMenuUri(obj,uriId){
	var upTr = $(obj).parent('td').parent('tr')[0];
	var uri = upTr.childNodes[0].childNodes[0];
	var uridesc = upTr.childNodes[1].childNodes[0];
	var uriV = $.trim($(uri).val());
	var uriDescV = $(uridesc).val();
	if(uriV.length<=0){
		$.message("error","Uri不能为空");
		return;
	}
	$.openLoading();
	$.ajax({
		url: "<%=path%>/systemManager/menuManage/updateMenuUri",
		type: "post",
		dataType: "json",
		data:{"uriId":uriId,"uriStr":uriV,"uridescStr":uriDescV},
		async:true,
		cache:false,
		success: function(data) {
			$.closeLoading();
			if(data!=null && data.result=="error"){
				$.message("error", data.message);
			}else{
				if($.validate(data))return;
				loadMenuUriList();
			}
		}
	});
}
</script>
</head>

<body>
	<div class="current">
           <table class="current_table_1">
              <tbody><tr class="f2">
                <td><img src="./images/current_1.jpg"></td>
                  <td class="current_table_1_td">
                  <img src="images/current_1.png">&nbsp;您现在的位置：&nbsp;
                  <span style=" color:#136bab; ">系统管理
                  <span style="padding:0 5px; font-weight:bold; line-height:28px;">&gt;</span>菜单维护
                  </span>
                  </td>
                  <td><img src="./images/current_3.jpg"></td>
              </tr>
           </tbody></table>
      </div>
	<%--显示menu的表格 --%>
	<table border="1" class="table_02" style="height:150px">
  		<tr height="50px">
  			<td colspan="2" align="center">
				菜单名称：&nbsp;<input id="menuName_input" class="input_text"/>&nbsp;&nbsp;
				<input type="button" id="queryMenuBtn" class="input_button_1" value="查询" onclick="queryMenu(1)"/>
				<input type="button" id="addMenuBtn" class="input_button_1"  value="新增" onclick="openAddMenuDIV()"/>
			</td>
  		</tr>
  		<tr>
  			<td valign="top">
	  			<div id="menuDIV" style="width:98%;margin:5px">
			  		<table class="table_02" id="menuTable">
			  		<thead>
		              <tr>
		                  <th style="width:22%">菜单名称</th>
		                  <th style="width:22%">上级菜单</th>
		                  <th style="width:22%">菜单类型</th>
		                  <th style="width:13%">操作</th>
		              </tr>
		              </thead>
		              <tbody>
					  </tbody>
		            </table>
						<div id="menuPageDIV"  class="page" >
	  				 </div>
	  			</div>
  			</td>
  		</tr>
  	</table>
  	
  	
  		<!--   	添加、修改菜单DIV 默认隐藏-->
			<div id="editMenuDiv"  style="display:none;width:490px;">
		<input type="hidden" id="row_num" name="row_num" value="0"/>
			<div class="table_title_div">
					<table class="table_title" style='width:100%;height: 20px;'>
						<tr>
						<td width="10%"></td>
						<td width="80%" id="interfaceName"></td>
						<td width="10%" align="right"><img src="<%=path %>/images/closedown.gif" alt="关闭"  onclick="closeCurrentDIV('editMenuDiv')"/></td>
						</tr>
					</table>
			</div>
		<table class="table_02" id="saveMenuTable" style="height:180px;width: 95%" align="center" >
			<tr>
				<td style="text-align:right;border-right:0px;" width="30%">菜单名称：</td>
				<td style="text-align:left;border-right:0px;" width="65%">&nbsp;&nbsp;<input type="hidden" id="mid"><input type="text" id="newMenuName" class="input_text" ><span class="red">*</span>
				&nbsp;&nbsp;<span id="menuerror"></span>
				</td>
				<td width="5%" style="text-align:left;"></td>
			</tr>
			<tr>
				<td style="text-align:right;border-right:0px;" width="30%">点此选择<a href='javascript:void(0)' id="selp" onclick="openParMu()" style='color:blue;text-decoration:underline;'>上级菜单</a>：</td>
				<td style="text-align:left;border-right:0px;" width="40%">&nbsp;&nbsp;<input type="hidden" id="pid"><input type="text" id="selectedParentMenu" class="input_text" readonly="readonly" >&nbsp;<input type="button" class="input_button_1" onclick="clearParMenu()" value="清空"></td>
				<td width="30%" style="text-align:left;">&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td style="text-align:right;border-right:0px;" width="30%">菜单类型：</td>
				<td style="text-align:left;border-right:0px;" width="40%">
					&nbsp;&nbsp;<input type="radio" name="menu_type" value="0" checked="checked">&nbsp;&nbsp;只开放给总公司&nbsp;&nbsp;<input type="radio" name="menu_type" value="1">&nbsp;&nbsp;开放给分公司
				</td>
				<td width="30%" style="text-align:left;">&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td style="text-align:right;border-right:0px;" width="30%">URL：</td>
				<td style="text-align:left;border-right:0px;" width="40%">&nbsp;&nbsp;<input type="text" id="url" class="input_text"></td>
				<td width="30%" style="text-align:left;">&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td style="text-align:right;border-right:0px;" width="30%">菜单描述：</td>
				<td style="text-align:left;border-right:0px;" width="40%">&nbsp;&nbsp;<input type="text" id="menuDesc" class="input_text" ></td>
				<td width="30%" style="text-align:left;">&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td style="text-align:right;border-right:0px;" width="30%">序号：</td>
				<td style="text-align:left;border-right:0px;" width="40%">&nbsp;&nbsp;<input type="text" id="sortNo" class="input_text"   onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">&nbsp;<font color='red'>(仅数字)</font></td>
				<td width="30%" style="text-align:left;">&nbsp;</td>
			</tr>
		</table>
		<div style="width: 95%;height:30px;" align="center">
		   <input type="button" id="saveMenuBtn" value="保存" onclick="addMenu()" class="input_button_3"/>&nbsp;&nbsp;&nbsp;
	       <input type="button" value="取消" onclick="closeCurrentDIV('editMenuDiv')" class="input_button_3"/>
		</div>
	</div>
	
	
	
<!-- 	父级菜单 树形div -->
<div id="pMenuDiv" style="border:0px solid red;display:none;width:630px;height:380px;background-color: #f6f7f9;">
			<div class="table_title_div">
					<table class="table_title" style="width:100%;height: 20px;">
						<tr>
						<td width="10%"></td>
						<td width="80%" id="interfaceName"></td>
						<td width="10%" align="right"><img src="<%=path %>/images/closedown.gif" alt="关闭"  onclick="closePdiv('pMenuDiv')"/></td>
						</tr>
					</table>
			</div>
	<div style="border:0px solid blue;width:100%;margin:0 auto;height:90%;margin-top:10px;background-color:#f6f7f9;" align="center">
			<div id="tt" style="border:1px solid #A4BDE3;height:320px;width:40%;overflow-y:auto;float:left;margin-left:5px;">
			<ul id="treeDemo" class="ztree"></ul>
			</div>
			<div id="rightmenuInfo" style="border:0px solid #A4BDE3;height:320px;width:55%;float:right;display:none" align="left">
					<table id="showMenuInfoTable" style="height:180px;width:97%">
					<tr>
						<td class="temp" style="text-align:right;" width="70px" >菜单名称：</td>
						<td style="text-align:left;" width="200px" ><span id="muname"></span></td>
					</tr>
					<tr>
						<td class="temp" style="text-align:right;" width="70px" >菜单描述：</td>
						<td style="text-align:left;" width="200px" ><span id="mudesc"></span></td>
					</tr>
					<tr>
						<td class="temp" style="text-align:right;" width="70px" >URL：</td>
						<td style="text-align:left;" width="200px" >
							<span id="muurl" ></span>
						</td>
					</tr>
					<tr>
						<td class="temp" style="text-align:right;" width="70px" >序号：</td>
						<td style="text-align:left;" width="200px" ><span id="musno"></span></td>
					</tr>
				</table>
			</div>
			
	</div>
			<table class="table_temp" style="height:30px;width:100%;" align="center" >
			<tr>
				<td>
					<input type="button" id="saveBtn" value="确定" onclick="chooseParMenu()" class="input_button_1"/>&nbsp;&nbsp;&nbsp;
					<input type="button" value="取消" onclick="closePdiv('pMenuDiv')" class="input_button_1"/>
				</td>
			</tr>
		</table>
</div>


<%--配置uri div --%>
	<div id="setMenuUriDiv" style="display:none;width:80%;padding-bottom:15px;">
		<div class="table_title_div">
				<table class="table_title" style="width:100% ;height: 20px;">
					<tr>
					<td width="10%"></td>
					<td width="80%" id="interfaceName"></td>
					<td width="10%" align="right"><img src="<%=path %>/images/closedown.gif" alt="关闭"  onclick="closeCurrentDIV('setMenuUriDiv')"/></td>
					</tr>
				</table>
		</div>
		<div style="width:100%;height:230px;border:0px solid red;overflow-y:auto;">
		<table class="table_02" id="saveMenuUriTable" style="width:93%;" align="center" >
			<tr>
				<td colspan="3" style="padding: 10px 30px;">
					<table class="table_02">
						<thead>
							<tr id="menuUriTableHeader">
								<th style="width:40%">Uri</th>
								<th style="width:40%">Uri描述</th>
				                <th style="width:20%">操作</th>
							</tr>
							<tr>
								<td width="40%" style="padding: 10px"><input class="input_text" name="menuUri_input" id="uri" type="text" style="width:180px;"/><span class="red">*</span></td>
								<td width="40%" style="padding: 10px"><input class="input_text" name="menuUri_input" id="uriDesc" type="text" style="width:180px;"/></td>
							    <td width="20%" style="padding: 10px"><input class="input_button_1" type="button" id="addMenuUriBtn" value="新增" onclick="addMenuUri()"/></td>
							</tr>		
						</thead>
					</table>
					<div style="color:3333ee"> 菜单维护支持 * 通配符，如 /transManager/* 支持 所有以/transManager/开头的操作</div>
				</td>
			</tr>
	</table>
	</div>
	</div>




</body>
</html>
